package com.itheima.Service.impl;

import com.itheima.Dao.ClazzDao;
import com.itheima.Service.ClazzService;

public class ClazzServiceimpl implements ClazzService {
    private ClazzDao clazz;

    public ClazzServiceimpl(ClazzDao clazz) {
        this.clazz = clazz;
    }

    public ClazzServiceimpl() {

    }


    @Override
    public void save() {
        clazz.save();
    }

    public void setClazzDao(ClazzDao clazzDao) {
        this.clazz=clazz;
    }
}
